package ui.creatorsscreen.listeners;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;

import javax.swing.JPanel;

import ui.ScreenPanelManager;
import ui.ScreenPanelManager.ID;
import ui.creatorsscreen.CreatorsScreenPanel;
import ui.mainscreen.MenuPanel;
import ui.mainscreen.MainScreenPanel;

/**
 * Слушатель нажатий клавиш на панели Создателей Пока НЕ работает
 * 
 * @author Anton, Rumata
 */
public class CreatorsPanelKeyListener extends KeyAdapter {

	 public void keyPressed(KeyEvent e) {
		 System.out.println("OKKKKK!");
		 ScreenPanelManager manager = ScreenPanelManager.getInstance();
		 manager.activateScreenByID(ID.MSP);
	}

}
